<li><a href="<?php echo base_url();?>" title="首页" class="home <?php echo isset($topid) ? '' : active;?>" ><i class="txt">首页</i></a></li>
<?php foreach ($nav_data as $k=>$v):
switch ($k){
	case 26:
		$url = $this->_site_path . '/news/about_commerce/' . $k;
		break;
	case 56:
		$url = $this->_site_path . '/member/index';
		break;
	case 30:
		$url = $this->_site_path . '/message/index';
		break;
	default:
		$url = $this->_site_path . '/news/channel/' . $k;
}
?>
<li><a href="<?php echo base_url($url);?>" title="<?php echo $v;?>" class="<?php echo isset($topid)&&($topid==$k) ? 'active' : '';?>"><i class="txt"><?php echo $v;?></i></a></li>
<?php endforeach;?>

